package com.cxx.purchasecharge.dal;

import java.util.List;

import com.cxx.purchasecharge.core.model.persistence.Authority;
import com.cxx.purchasecharge.dal.common.MyGenericDao;

public interface AuthorityDao extends MyGenericDao<Authority, Long>
{

    public Authority findByName (String name);

    public boolean isSystem (String name);
    
    public List <Authority> findByParent (Long parentId);

}
